/**************************************************************************
 * @file serial_protocol_demo.h
 * @author BryanHe(贺璧) (532352406@qq.com)
 * @brief 
 * @version 0.1
 * @date 2025-04-08
 * 
 * @copyright Copyright (c) 2025
 * 
 *************************************************************************/
#ifndef SERIAL_PROTOCOL_DEMO__H_H
#define SERIAL_PROTOCOL_DEMO__H_H

#ifdef __cplusplus
extern "C"{
#endif
#include<stdint.h>
#include<stdio.h>
#include "../inc/serial_protocol.h"

typedef enum {
    INPUT_AUX=0,
    INPUT_OPTICAL,
    INPUT_HDMI_ARC,
}USR_INPUT_SOURCE_T;
typedef enum {
    USR_WK_SINGLE_M=0,
    USR_WK_GROUP_M,
}USR_WK_MODE_T;
typedef enum {
    // 用户可在此添加自定义命令码
   USR_CMD_CUSTOM = CMD_USER_START, /** 必需以这个枚举变量开始CMD_USER_START，避免和底层指令重复 */
   USR_CMD_SET_VOL,
   USR_CMD_VOL_INC,
   USR_CMD_VOL_DEC,
   USR_CMD_GET_TX_INFOR,
   USR_CMD_GET_RX_INFOR,
   USR_CMD_HOST_VERSION,
   USR_CMD_GET_HDMI_INFOR,
   USR_CMD_SET_VOICE_ENHANCE,
   USR_CMD_V_ENHANCE_INC,
   USR_CMD_V_ENHANCE_DEC,
   USR_CMD_WORK_MODE,
   USR_CMD_INPUT_REQUEST,

} UsrCmdCode;

typedef enum {
    // 用户可在此添加自定义状态码
    USR_STATUS_CUSTOM = STATUS_USER_START,/** 必需以这个枚举变量开始STATUS_USER_START，避免和底层状态码重复 */

} UsrCmdStatus;



#ifdef __cplusplus
}
#endif

#endif //SERIAL_PROTOCOL_DEMO__H_H


